package com.cyz.web.app.adapter.review;

public class Client {

    public static void main(String[] args) {

        var fishingBoatAdapter = new FishingBoatAdapter();
        var captain = new Captain(fishingBoatAdapter);
        captain.rowing();

        System.out.println("-------------------------");

        var shopAdapter = new ShopAdapter();
        captain = new Captain(shopAdapter);
        captain.rowing();

    }


}
